Hardwired remapped memory

ABSTRACT

Subject matter disclosed herein relates to on-the-fly remapping a memory device by hardware-switching data paths to locations of the memory device.

REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/853,790, filed Mar. 29, 2013, entitled HARDWIRED REMAPPED MEMORY, which is a continuation of U.S. patent application Ser. No. 12/494,830, filed Jun. 30, 2009, now U.S. Pat. No. 8,412,985, entitled HARDWIRED REMAPPED MEMORY, each of which is hereby incorporated herein by reference in its entirety and made part of this specification.

BACKGROUND

1. Field:

Subject matter disclosed herein relates to on-the-fly remapping a memory device by hardware-switching data paths to locations of the memory device.

2. Information:

Memory devices are employed in many types of electronic devices, such as computers, cell phones, PDA's, data loggers, and navigational equipment, just to name a few examples. Among such electronic devices, various types of nonvolatile memory devices may be employed, such as NAND or NOR flash memories, SRAM, DRAM, and phase-change memory, just to name a few examples. In general, writing or programming processes may be used to store information in such memory devices, while a read process may be used to retrieve stored information.

Such nonvolatile memory devices may comprise memory cells that slowly deteriorate over time, leading to an increasing probability that a read and/or write error may occur upon accessing such a memory cell. Though such errors may be subsequently corrected within a memory device, for example, such error correction may become difficult or impossible as the number of errors increases.

BRIEF DESCRIPTION OF THE FIGURES

Non-limiting and non-exhaustive embodiments will be described with reference to the following figures, wherein like reference numerals refer to like parts throughout the various figures unless otherwise specified.

FIG. 1 is a schematic view of a memory configuration, according to an embodiment.

FIG. 2 is a flow diagram of a memory read/write process, according to an embodiment.

FIG. 3 is a flow diagram of a memory read/write process, according to another embodiment.

FIG. 4 is a schematic block diagram of a computing system and a memory device, according to an embodiment.

FIG. 5 is a schematic block diagram of a memory system, according to an embodiment.

DETAILED DESCRIPTION

Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of claimed subject matter. Thus, the appearances of the phrase “in one embodiment” or “an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in one or more embodiments.

In an embodiment, a memory device may comprise memory cells that slowly deteriorate over time, which may lead to an increased probability that one or more errors may occur while reading such a memory device. Such errors may be corrected in several areas within a computing system, for example, using error correction codes (ECC) or other such algorithms. From a system perspective, a determination may be made as to whether or not to continue to utilize such error-prone cells. As will be explained in further detail below, such a determination may be based, at least in part, on a comparison of the number of such errors to an error threshold, which may be defined during a design stage of a memory device, for example. In one implementation, use of particular memory cells may be discontinued before such cells display an excess number of errors. In other words, use of error-prone memory cells may be discontinued if such memory cells produce a number of errors that approaches an error threshold. Such a threshold need not be reached, for example, in order to determine that use of such memory cells may be discontinued. Accordingly, observing a number of errors approaching an error threshold may be a way to predict that particular memory cells may soon produce too many errors, so use of such error-prone memory cells may be stopped before the memory cells actually begin to critically malfunction, for example. If use of particular memory cells is to be discontinued, then replacement memory cells may be selected in a manner that maintains an overall memory device capacity.

Accordingly, in one embodiment, a process to maintain a size capacity of a memory device may include remapping an error-prone memory location to a properly functioning memory location, without a loss of overall system memory space (e.g., storage device capacity). Here, remapping refers to a process of redirecting read/write signals to accommodate a new use of a substitute memory location to replace a discontinued memory location. Such remapping may be based, at least in part, on information regarding a quantity and/or frequency of errors occurring as a result of reading from an error-prone memory location. Here, memory location refers to a portion of a memory device that may be accessed, e.g., via a read and/or write process, using an address to identify such a memory location and/or portion. As explained in further detail below, an ECC decoder, for example, may be used to determine a bit error rate and/or the number of bit errors associated with reading a particular portion of a memory. Subsequently, the bit error rate and/or number of bit errors may be compared to an error threshold, which may represent a substantial limit to an acceptable number of errors, for example. Depending on an outcome of such a comparison, a decision may be made regarding whether to retire, e.g., discontinue use of, the particular portion of memory producing the errors.

In a particular embodiment, a process of retiring a portion of a memory device may include moving data stored in the to-be-retired portion of the memory device to another portion of the memory device. In one implementation, data relocated from a retired portion of a memory device may be moved to a spare portion of the memory device. For example, such a spare portion of memory may include a physical location of the memory device not initially recognized or considered as part of the full capacity of the memory device, as explained in more detail below. A process of retiring a portion of a memory device may also include physically redirecting a data path so that read/write data is directed to a spare portion of memory instead of the corresponding retired portion of memory. Here, physically redirecting a data path may comprise providing a path selection signal to a hardware switching component to select a data path among two or more data path options, as explained in detail below. Information used to select one or more data paths may be determined and/or stored in a special-purpose register, for example. Such data path selection may occur on-the-fly while processing read/write instructions. Additionally, data path selection may be performed in a process that is transparent with respect to a processor that issues such read/write instructions. Here, transparency refers to a process that occurs substantially without processor involvement. Accordingly, a processor need not be burdened (e.g., slowed down) with software processes to reorganize and/or work with memory maps while processing read/write instructions, for example. Also, a processor, as used herein, may comprise a device that may read and/or write from/to memory, such as a micro controller, for example. Of course, such processes are merely examples, and claimed subject matter is not so limited.

In one embodiment, a process such as that described above may involve a memory device comprising a phase-change memory (PCM) device. Accordingly, as a PCM ages, a bit error rate and/or a number of bit errors produced by portions of the PCM may increase. Such errors, to some extent, may be corrected using an ECC decoder and/or other such error correcting algorithms, for example. However, a number of errors may increase beyond a capability of such error-correcting techniques. Therefore, it may be desirable to retire such memory portions upon an indication that such memory portions have been or are beginning to produce an excessive number of errors.

Embodiments, such as those described above, may allow successful use of storage devices involving relatively less reliable technologies, such as currently disregarded die or PCM die having less than reliable test results, for example. Also, such embodiments may extend a lifetime of a storage device to that of a majority of its memory cells rather than the life of a relatively few of its memory cells. In addition, while extending storage device lifetime, above-described embodiments may be implemented in a manner that is transparent to a processor reading/writing to/from such a storage device. Such an advantage may avoid latencies that may otherwise occur if a processor is used to carryout remapping embodiments as described above, for example.

FIG. 1 is a schematic view of a memory configuration, according to an embodiment. A memory device 100 may be partitioned into a main memory 110 and a spare memory 120. Memory device 100 may comprise NAND or NOR flash memories, SRAM, DRAM, or PCM, just to name a few examples. Memory device 100 may comprise a user-addressable memory space including such main and spare memory portions and/or one or more other memory portions, which may or may not be contiguous with one another, and may or may not reside on a single device. Main memory 110 and spare memory 120 may comprise independent addressable spaces that may be accessed by read, write, and/or erase processes, for example.

According to an embodiment, one or more portions of memory device 100 may store signals representative of data and/or information as expressed by a particular state of memory device 100. For example, an electronic signal representative of data and/or information may be “stored” in a portion of memory device by affecting or changing the state of such portions of memory device 100 to represent data and/or information as binary information (e.g., ones and zeros). As such, in a particular implementation, such a change of state of the portion of memory to store a signal representative of data and/or information constitutes a transformation of memory device 100 to a different state or thing.

Memory device 100 may be configured to initially comprise main memory 110 corresponding to the fully usable capacity of memory device 100. Such an initial configuration may additionally comprise spare memory 120 that need not be included in determining memory device capacity. However, if portions of main memory become unusable or result in an excess number of errors during read/write processes, for example, spare memory 120 may be used to replace portions of main memory 110. Of course, details of such a memory configuration are merely examples, and claimed subject matter is not so limited.

FIG. 2 is a flow diagram of a memory read/write process 200, according to an embodiment. At block 220, a read/write process to read or write to a portion of a memory device may be initiated, for example, by a system application executed by a processor (not shown) providing one or more read/write addresses to respectively identify one or more memory locations from where stored data is to be read or to where data is to be written. Beginning at block 230, such a read/write address may direct a data read/write process along a data path previously selected based, at least in part, on whether the read/write address corresponds to a memory location that has been retired. In the present example, a memory device may comprise a main memory portion and a spare memory portion, such as memory device 100 shown in FIG. 1, for example. In a particular implementation, a spare memory portion may be used in place of a main memory portion that is retired. In a case where such a memory location has not been retired, at block 240, the data path may direct a data read/write process to a location in a main memory portion corresponding to an address transmitted by a processor. Such directing may be performed by an appropriately switched hardware switching component, such as a multiplexer, for example. For example, a signal may be applied to a hardware switching component to select a data path that leads to a main memory portion corresponding to an address transmitted by the processor. Other data paths selected by the hardware switching component may comprise individual data paths leading to different portions of a memory device, such as a spare memory portion, for example.

As a result, at block 250, the read/write address transmitted by the processor may be used to read from or write to the main memory portion of the memory device. Subsequently, at block 260, data read from the read address of the memory device may be provided to error-checking hardware and/or software, such as an ECC decoder and/or other such error correcting algorithms, for example. In one implementation, data read from a memory device may result from a write process to the memory device, wherein such data may be read in order to verify whether the former write process was successful, for example.

In a case where a memory location has been retired, at block 245, a data path may direct a data read/write process to a location in a spare memory portion instead of a memory location corresponding to an address transmitted by a processor. Such path directing may be performed by an appropriately switched hardware switching component, such as a multiplexer, for example. In particular, a signal may be applied to such a hardware switching component to select a data path that leads to a spare memory portion corresponding to an address transmitted by a processor. Other data paths selected by the hardware switching component may comprise individual data paths leading to different portions of a memory device, such as a main memory portion and/or other spare memory portions, for example.

As a result, at block 255, the read/write address transmitted by the processor, though originally directed to an address of a main memory portion, may be redirected to a spare memory portion of the memory device. Subsequently, at block 260, data read from or written to the spare memory portion may be provided to error-checking hardware and/or software, such as an ECC decoder and/or other such error correcting algorithms, for example. In one implementation, data read from a memory device may result from a write process to the memory device, wherein such data may be read in order to verify whether the former write process was successful, for example. Of course, details of such a memory read process are merely examples, and claimed subject matter is not so limited.

FIG. 3 is a flow diagram of a memory read/write process 300, according to an embodiment. At block 310, a read/write process to read/write to a portion of a memory device may be initiated, for example, by a system application that provides one or more read/write addresses to respectively identify one or more memory locations from where stored data is to be read or to where data is to be written. ECC hardware and/or software, by parity checking read data for example, may be used to check and/or correct errors in read data. Subsequently, initially read data may be compared to corrected read data to determine the number of errors that occurred in the memory read process, as at block 320. Such a number of errors may be expressed as a bit error rate (BER), which may comprise a ratio of the number of error bits to the total number of read bits, for example. A BER or number of errors resulting from reading from a portion of a memory device may be compared to an error threshold value, which may comprise a value that represents a maximum acceptable BER or maximum acceptable number of errors, beyond which, for example, additional errors may not be successfully corrected: such an error threshold value may comprise a number that represents a substantially upper limit of a BER or a number of errors that are correctable for a particular memory device, such as memory device 100 shown in FIG. 1, for example. At or below such an error threshold value, ECC hardware and/or software may be capable of correcting read errors. But above such an error threshold, there may be a relatively high probability that all read errors may not be correctable. In one implementation, the above-described process of reading data from a memory device may be part of a write process to the memory device. In such a case, reading such data may be performed in order to verify whether the former write process was successful, for example.

At block 330, a decision is made regarding whether to retire a portion of memory based at least in part on whether reading from such a portion of memory results in too many errors. If such a number of errors is at or below an error threshold, then a decision may be made to not retire such a portion of memory, and read process 300 may proceed to block 335. Here, a signal may be provided to hardware switching component so that a route or path on which data is transmitted for the read/write process may be directed to original main memory portion. Next, at block 340, for example, read data may be provided to an application that requested the read data, for example.

On the other hand, if such a number of errors is above an error threshold, then a decision may be made to retire a portion of memory, and read/write process 300 may proceed to block 350 where, for example, a process may begin to retire such a portion of memory that leads to too many errors. In a particular implementation, data stored in such a to-be-retired memory portion may be read one more time by providing a signal to a hardware switching component so that a data route used for the read process may be directed to original main memory portion. At block 365, data stored in a to-be-retired memory portion may be copied to newly selected spare memory. Accordingly, such data may be available from the spare memory portion for future read/write processes. Next, at block 360, a signal may be provided to hardware switching component so that a data route used for subsequent read and/or write processes may be directed to a spare memory portion used to replace the original main memory portion. Next, at block 340, for example, read data may be provided to an application that requested the read data. Of course, details of such a memory read process are merely examples, and claimed subject matter is not so limited.

FIG. 4 is a schematic diagram illustrating an embodiment of a computing system 400 including a memory device 455, which may be partitioned into main portion 450 and a spare portion 460 as discussed above regarding FIG. 1, for example. A computing system 400 may be representative of any device, appliance, and/or machine that may be configurable to manage memory device 455. By way of example but not limitation, computing system 400 may include: one or more computing devices and/or platforms, such as, e.g., a desktop computer, a laptop computer, a workstation, a server device, or the like; one or more personal computing or communication devices or appliances, such as, e.g., a personal digital assistant, mobile communication device, or the like; a computing system and/or associated service provider capability, such as, e.g., a database or data storage service provider/system; and/or any combination thereof.

It is recognized that all or part of the various devices shown in computing system 400, and the processes and methods as further described herein, may be implemented using or otherwise including hardware, firmware, software, or any combination thereof. Thus, by way of example but not limitation, computing system 400 may include at least one processing unit 410 that is operatively coupled to memory 455 through a hardware switching component 470, a memory controller 435, and an error detection and memory retirement determination component 440 (hereinafter named “error detection component” for convenience). Processing unit 410 may be representative of one or more circuits configurable to perform at least a portion of a data computing procedure or process. By way of example but not limitation, processing unit 410 may include one or more processors, controllers, microprocessors, microcontrollers, application specific integrated circuits, digital signal processors, programmable logic devices, field programmable gate arrays, and the like, or any combination thereof. Processing unit 410 may communicate with memory controller 435 to process memory-related operations, such as read, write, and/or erase, for example. Processing unit 410 may include an operating system configured to communicate with memory controller 435. Such an operating system may, for example, generate commands to be sent to memory controller 435 via address output port 415 and/or data read/write port 420. Such commands may include a memory address corresponding to memory 455, for example.

Computing system 400 may include, for example, an input/output portion 480, which may represent one or more devices or features configurable to accept or otherwise introduce human and/or machine inputs, and/or one or more devices or features configurable to deliver or otherwise provide for human and/or machine outputs. By way of example but not limitation, input/output portion 480 may include an operatively configured display, speaker, keyboard, mouse, trackball, touch screen, data port, etc.

Memory controller 435 may include a register 430 to maintain information to be used to select, via hardware switching component 470, among multiple data paths 475 leading to various portions of memory 455. For example, such information may comprise a table of memory addresses associated with particular memory selection values to select particular data paths 475; if processing unit 410 presents an address as part of a read/write operation, register 430 may be used to associate the address with a particular memory selection value to select a particular data path to memory. Here, for example, a selection may be made to choose a data path to either main memory 450 or spare memory 460. Such a selection, as indicated above, may be based, at least in part, on whether a location of memory 455 associated with an address presented in a read/write process has been retired. To illustrate by a particular example, processing unit 410 may present an address as part of a read operation. The address, received by memory controller 435, may then be associated with a particular memory selection value maintained in register 430. As explained below, such a memory selection value may have been established based, at least in part, on information provided by error detection component 440. Such a memory selection value may then be provided to hardware switching component 470 to select one data path to memory among multiple data paths 475. In the present particular example, the address corresponds to a location of memory 455 previously retired. Accordingly, register 430 may associate the address with a memory selection value that, if presented to hardware switching component 470, will select a data path leading to a location in spare memory 460. Although two data paths are shown to represent multiple data paths 475 in FIG. 4, it should be noted that any number of data paths may be possible. Also, hardware switching component 470 need not be limited to selecting one data path at a time. Similarly, combinations including any number of data paths to any portion of memory 455 are possible, wherein memory 455 may comprise one or more memory devices packaged together or individually, for example. Memory 455 may be representative of any data storage mechanism. Memory 455 may include, for example, a disk drive, an optical disc drive, a tape drive, a solid state memory drive, etc. Accordingly, configurations described herein are merely examples, and claimed subject matter is not so limited.

As indicated above, register 430 may establish and maintain information based, at least in part, on information provided by error detection component 440. In one embodiment, data read from memory 455 may be provided to error detection component 440, which may check for errors to determine a bit error rate and/or the number of bit errors associated with reading a particular portion of memory 455. Such error information may then be provided to memory controller 435, which may compare the bit error rate and/or number of bit errors to an error threshold, for example. Depending on an outcome of such a comparison, a decision may be made regarding whether to retire the particular portion of memory. Accordingly, the address of the particular portion of memory may be associated with a memory selection value that, if presented to hardware switching component 470, may be used to select a data path to an appropriate portion of memory. As described above, register 430 may maintain such memory selection values associated with particular memory addresses.

As shown in FIG. 4, computing system 400 may comprise a hardware portion 490 that includes, for example, memory controller 435, register 430, hardware switching component 470, and/or memory 455. In a particular embodiment, retiring a portion of a memory device and/or determining whether to read/write to/from main or spare memory may comprise a process that is transparent with respect to processing unit 410, which may issue read/write instructions. Accordingly, processor unit 410 need not receive nor process data read from a particular portion of memory that produces errors. Instead, such errors may be intercepted and detected by error detection component 440, which may then provide error information to memory controller 435, as described above. Subsequently, memory controller 435 may determine whether a particular portion of memory 455 should be retired, wherein such a determination may be made within hardware portion 490 and without participation of processing unit 410, for example. In addition, memory controller 435 may determine whether to read/write to/from main or spare memory depending, at least in part, on signals representative of information stored in register 430. Again, such a determination may be made within hardware portion 490 and without participation of processing unit 410. Accordingly, as indicated above, a processor need not be burdened with software processes to reorganize and/or work with memory maps while processing read/write instructions, for example. Of course, such processes are merely examples, and claimed subject matter is not so limited.

FIG. 5 is a block diagram of a memory system 500, according to another embodiment. A processor (not shown in FIG. 5) and error detection circuitry may communicate with a register 530, which may operate hardware switching components 540 and 550. In the example shown in FIG. 5, hardware switching components 540 and 550 comprise multiplexers that may be used to select among multiple data paths respectively electrically coupled to various portions of memory 515. Such data paths may link portions of memory 515 to a data buffer 560 that may provide read data to a processor, for example, or write data to the memory.

Memory system 500 may allow a processor or other external requester of data stored in memory to receive error-free data from a particular requested address range even if a portion of such an address range comprises retired main memory. In such a case, for example, a chunk of data may be read from both main memory and spare memory (that replaced retired main memory) without requester knowledge.

Though only a spare memory portion 510 and one main memory portion 520 of memory 515 are shown, additional memory portions may be present. For example, memory system 500 may comprise twenty main memory portions for every one spare memory portions, though claimed subject matter is not limited to such a particular example. Individual memory portions may comprise a single die, so that memory 515 comprises a memory module including multiple memory die. In a particular implementation, main memory portion 520 and spare memory portion 510 may comprise individual die that include multiple die rows, though other memory configurations are possible. In one particular implementation, memory 515 may also comprise a separate die comprising hardware switching components 540 and 550 and/or register 530. In another particular implementation, to the left of line 570 in FIG. 5, memory 515 may comprise multiple die for individual memory devices, for example. To the right of line 570, a hardware portion of memory system 500, comprising register 530 and hardware switching components 540 and 550, for example, may determine memory location retirement and/or selection of memory locations across multiple memory devices. Of course, such a memory system configuration is merely an example, and claimed subject matter is not so limited.

In the above detailed description, numerous specific details are set forth to provide a thorough understanding of claimed subject matter. However, it will be understood by those skilled in the art that claimed subject matter may be practiced without these specific details. In other instances, methods, apparatuses, or systems that would be known by one of ordinary skill have not been described in detail so as not to obscure claimed subject matter.

Some portions of the detailed description above are presented in teal's of algorithms or symbolic representations of operations on binary digital signals stored within a memory of a specific apparatus or special purpose computing device or platform. In the context of this particular specification, the term specific apparatus or the like includes a general purpose computer once it is programmed to perform particular operations pursuant to instructions from program software. Algorithmic descriptions or symbolic representations are examples of techniques used by those of ordinary skill in the signal processing or related arts to convey the substance of their work to others skilled in the art. An algorithm is here, and generally, is considered to be a self-consistent sequence of operations or similar signal processing leading to a desired result. In this context, operations or processing involve physical manipulation of physical quantities. Typically, although not necessarily, such quantities may take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared or otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to such signals as bits, data, values, elements, symbols, characters, terms, numbers, numerals, or the like. It should be understood, however, that all of these or similar terms are to be associated with appropriate physical quantities and are merely convenient labels. Unless specifically stated otherwise, as apparent from the following discussion, it is appreciated that throughout this specification discussions utilizing terms such as “processing,” “computing,” “calculating,” “determining” or the like refer to actions or processes of a specific apparatus, such as a special purpose computer or a similar special purpose electronic computing device. In the context of this specification, therefore, a special purpose computer or a similar special purpose electronic computing device is capable of manipulating or transforming signals, typically represented as physical electronic or magnetic quantities within memories, registers, or other information storage devices, transmission devices, or display devices of the special purpose computer or similar special purpose electronic computing device.

The terms, “and,” “and/or,” and “or” as used herein may include a variety of meanings that will depend at least in part upon the context in which it is used. Typically, “and/or” as well as “or” if used to associate a list, such as A, B or C, is intended to mean A, B, and C, here used in the inclusive sense, as well as A, B or C, here used in the exclusive sense. Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of claimed subject matter. Thus, the appearances of the phrase “in one embodiment” or “an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in one or more embodiments. Embodiments described herein may include machines, devices, engines, or apparatuses that operate using digital signals. Such signals may comprise electronic signals, optical signals, electromagnetic signals, or any form of energy that provides information between locations.

While there has been illustrated and described what are presently considered to be example embodiments, it will be understood by those skilled in the art that various other modifications may be made, and equivalents may be substituted, without departing from claimed subject matter. Additionally, many modifications may be made to adapt a particular situation to the teachings of claimed subject matter without departing from the central concept described herein. Therefore, it is intended that claimed subject matter not be limited to the particular embodiments disclosed, but that such claimed subject matter may also include all embodiments falling within the scope of the appended claims, and equivalents thereof. 

What is claimed is:
 1. A method of operating a memory device, comprising: receiving a memory access command for accessing a first location in a first memory portion of the memory device; redirecting, using a hardware switching component, the access command for accessing the first location of the first memory portion to a second location of a spare memory portion of the memory device, wherein the memory device comprises a plurality of hardware switching components and a plurality of dies, and wherein each of the plurality of dies comprises at least one of the plurality of hardware switching components.
 2. The method of claim 1, wherein the first location is a first memory cell, wherein the second location is a second memory cell, and wherein redirecting comprises redirecting from the first memory cell to the second memory cell.
 3. The method of claim 1, further comprising detecting a number of errors in information read from the first location of the first memory portion, wherein the redirecting comprises redirecting in response to the number of errors being greater than an error threshold value.
 4. The method of claim 3, wherein detecting the number of errors comprises providing information read from the first location to an error correction codes (ECC) decoder.
 5. The method of claim 1, further comprising replacing the first location of the first memory portion with the second location of the spare memory portion.
 6. The method of claim 5, wherein replacing the first location of the first memory portion with the second location of the spare memory portion comprises copying information stored in the first location of the first memory portion to the second location of the spare memory portion.
 7. The method of claim 1, wherein receiving the memory access command comprises receiving a command for reading the first location of the first memory portion or a command for programming to the first location of the first memory portion.
 8. The method of claim 1, further comprising associating a memory selection value with an address of the first location, wherein redirecting using the hardware switching component comprises presenting the memory selection value to the hardware switching component.
 9. A memory device, comprising: a first memory portion; a spare memory portion; a plurality of hardware switching components on a plurality of dies, wherein each of the plurality of dies comprises at least one of the plurality of hardware switching components; and a controller configured to: receive a memory access command for accessing a first location of the first memory portion, and redirect the memory access command for accessing the first location of the first memory portion to a second location of the spare memory portion.
 10. The device of claim 9, wherein the hardware switching component comprises a multiplexer.
 11. The device of claim 9, further comprising an error detection component configured to determine a number of errors or a bit error rate in information read from the first location of the first memory portion.
 12. The device of claim 11, wherein the memory controller is further configured to compare the number of errors or the bit error rate to an error threshold value, and wherein redirecting the memory access command for accessing the first location is in response to the number of errors or the bit error rate being greater than the error threshold value.
 13. The device of claim 9, wherein the memory controller is configured to redirect the memory access command for accessing the first location while processing at least one of a read command and a programming command for accessing the memory device.
 14. The device of claim 9, further comprising a register configured to store a plurality of memory selection values associated with locations of the first memory portion, and wherein the memory controller is configured to present to the hardware switching component a memory selection value stored in the register to redirect the memory access command for accessing the first location.
 15. The device of claim 9, wherein the first memory portion and the spare memory portion are phase change memory.
 16. A system, comprising: a first memory portion; a spare memory portion; a plurality of hardware switching components on a plurality of dies, wherein each of the plurality of dies comprises at least one of the plurality of hardware switching components; a controller configured to: receive a memory access command for accessing a first location of the first memory portion, and redirect the memory access command for accessing the first location of the first memory portion to a second location of the spare memory portion; and a processor to initiate the memory access command for accessing the first memory portion.
 17. The system of claim 16, further comprising an error detection component configured to determine a number of errors or a bit error rate in information read from the first location of the first memory portion.
 18. The system of claim 17, wherein the memory controller is further configured to compare the number of errors or the bit error rate to an error threshold value, and wherein redirecting the memory access command for accessing the first location is in response to the number of errors or the bit error rate being greater than the error threshold value.
 19. The system of claim 16, further comprising a register configured to store a plurality of memory selection values associated with locations of the first memory portion, and wherein the memory controller is configured to present to the hardware switching component a memory selection value to redirect the memory access command for accessing the first location.
 20. The system of claim 16, wherein the first memory portion and the spare memory portion reside on the plurality of dies. 